using System.Data.Entity.ModelConfiguration;
using IT.CMS.Core.Domain.Sites;

namespace IT.CMS.Data.Mapping.Sites
{
    public partial class SiteMappingMap : EntityTypeConfiguration<SiteMapping>
    {
        public SiteMappingMap()
        {
            this.ToTable("_ItCms_Core_SiteMapping");
            this.HasKey(sm => sm.Id);
            this.Property(sm => sm.EntityName).IsRequired().HasMaxLength(400);
        }
    }
}